<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<?php echo $this->Html->charset(); ?>
	<meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="description" content="">
	<title>
		<?php echo $title_for_layout; ?>
	</title>
	<?php
		echo $this->Html->meta('icon');
		
		echo $this->Html->css('bootstrap');
		echo $this->Html->css('bootstrap-responsive');
		echo $this->Html->css('duallistbox');
		echo $this->Html->css('select2');
		echo $this->Html->css('jquery.dataTables');
		echo $this->Html->css('helper');
		echo $this->Html->css('flat-ui');
		echo $this->Html->css('wschool');
		// inserisco qui il javascript del framework
		
		echo $this->Html->script('jquery-1.9.1');
		echo $this->Html->script('utility');
		echo $this->Html->script('waypoints.min');
		echo $this->Html->script('waypoints-sticky.min');
		echo $this->Html->script('require');
		echo $this->Html->script('bootstrap.min');
		echo $this->Html->script('duallistbox');
		echo $this->Html->script('select2');
		echo $this->Html->script('jquery.dataTables.min');
		//---------------
		echo $this->fetch('meta');
		echo $this->fetch('css');
		echo $this->fetch('script');
	?>
	<link href="//netdna.bootstrapcdn.com/font-awesome/3.1.0/css/font-awesome.css" rel="stylesheet">

</head>
<body>
	
	<div id="helper-modal" class="modal hide fade">
	  <div class="modal-body">
	    <p></p>
	  </div>
	  <div class="modal-footer">
	    <a href="#" class="btn btn-primary" data-dismiss="modal" aria-hidden="true">Ok</a>
	  </div>
	</div>
		<?php echo $this->element('bootstrap_top_menu'); ?> 				
	    <div class="container" style="padding-top: 60px;">
				<?php echo $this->element('message'); ?>
		    	<?php echo $this->fetch('content'); ?>
		    	<?php //echo $this->element('sql_dump'); ?>
	    </div>
		    <footer style=" margin-top: 100px; ">
              <div class="container" >
                <div class="row">
                  <div class="span12">
        			<p class="muted" align="center"><small>WonderSchool versione 1.0</small></p>
                  </div> 
                </div>
              </div>
            </footer>
		<?php echo $this->Html->script('helper'); ?>
		<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
        <script>
            var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
            (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
            g.src='//www.google-analytics.com/ga.js';
            s.parentNode.insertBefore(g,s)}(document,'script'));
        </script>
</body>
</html>
